package com.flnet.foxwash.mapper;

import com.flnet.foxwash.domain.WShop;
import java.util.List;	

/**
 * 店铺 数据层
 * 
 * @author zyh
 * @date 2019-03-20
 */
public interface WShopMapper 
{
	/**
     * 查询店铺信息
     * 
     * @param shopId 店铺ID
     * @return 店铺信息
     */
	public WShop selectWShopById(Long shopId);
	
	/**
     * 查询店铺列表
     * 
     * @param wShop 店铺信息
     * @return 店铺集合
     */
	public List<WShop> selectWShopList(WShop wShop);
	
	/**
     * 新增店铺
     * 
     * @param wShop 店铺信息
     * @return 结果
     */
	public int insertWShop(WShop wShop);
	
	/**
     * 修改店铺
     * 
     * @param wShop 店铺信息
     * @return 结果
     */
	public int updateWShop(WShop wShop);
	
	/**
     * 删除店铺
     * 
     * @param shopId 店铺ID
     * @return 结果
     */
	public int deleteWShopById(Long shopId);
	
	/**
     * 批量删除店铺
     * 
     * @param shopIds 需要删除的数据ID
     * @return 结果
     */
	public int deleteWShopByIds(String[] shopIds);
	
}